how to shorten js probabilities for functions

welcome to shbcf.ru